package com.lagou.service.impl;

import com.lagou.api.HelloService2;
import com.lagou.util.DubboTraffic;
import org.apache.dubbo.config.annotation.Service;

@Service
public class HelloServiceImpl2 implements HelloService2 {

    @Override
    public void sayHello2(String name) {
        String ip = DubboTraffic.requestIp();
        System.out.println("hello 2 ip:" + ip);
        System.out.println("say2:" + name);
    }
}
